package day11;

/**
 * @author oldliu
 * @since 1.0
 */
public class Door {
    private String brand;

    public Door(String brand) {
        this.brand = brand;
    }

    public void open() {
        System.out.println(brand+"Door open");
    }
    public void close() {
        System.out.println(brand+"门关闭");
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}
